﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="WaitingForResults.WaitingForResults"
	Width="Auto" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="640" d:DesignWidth="800" Background="#FF000000">
	<UserControl.Resources>
		<LinearGradientBrush x:Key="bshBlue" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FF83A0DE"/>
			<GradientStop Color="#FF0050FF" Offset="1"/>
		</LinearGradientBrush>
		<LinearGradientBrush x:Key="bshOrange" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FFFDD5B3"/>
			<GradientStop Color="#FFFF7400" Offset="1"/>
		</LinearGradientBrush>
		<LinearGradientBrush x:Key="bshSkyBlue" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FFFFFFFF"/>
			<GradientStop Color="#FF9FAFC8" Offset="1"/>
		</LinearGradientBrush>
		<Storyboard x:Name="stbWaitAnim" RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipseGrey" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.8"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.495"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0.197"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.2000000" Value="0.201"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0.502"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.8000000" Value="0.8"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipseBlue" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.2"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.5"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.8000000" Value="0.8"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.3000000" Value="0.8"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0.495"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.8000000" Value="0.2"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0.1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txbSearching" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.495"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0.495"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Duration="00:00:00.0010000">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="180"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Background="{x:Null}" Opacity="1">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<Rectangle Margin="0,0,0,0" Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="#FF060A18" Stroke="#FF000000" Opacity="0.595"/>
		<Grid Margin="1,0,1,1" Grid.Row="1" Grid.RowSpan="1" Grid.Column="1" Grid.ColumnSpan="1">
			<Canvas Height="100" Width="200" Canvas.Left="33" Canvas.Top="63.5" HorizontalAlignment="Center" VerticalAlignment="Center">
				<Ellipse Stroke="{StaticResource bshBlue}" x:Name="ellipseBlue" Height="35" Width="35" Fill="{StaticResource bshBlue}" Canvas.Left="27.167" Canvas.Top="9"/>
				<Ellipse Stroke="{StaticResource bshSkyBlue}" Fill="{StaticResource bshSkyBlue}" x:Name="ellipseGrey" Height="35" Width="35" Canvas.Left="139.5" Canvas.Top="8.167"/>
				<TextBlock Height="32.667"  TextAlignment="Center" FontWeight="Bold" FontFamily="Portable User Interface" Foreground="{StaticResource bshBlue}" x:Name="txbSearching" FontSize="24" Text="Searching" Width="200" Canvas.Top="57.258"/>
				<Ellipse Height="50" Width="50" StrokeThickness="10" Fill="{x:Null}" RenderTransformOrigin="0.5,0.5" x:Name="ellipse" Canvas.Left="75">
					<Ellipse.Stroke>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFFFFFFF"/>
							<GradientStop Color="#FF0050FF" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Stroke>
					<Ellipse.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform/>
							<TranslateTransform/>
						</TransformGroup>
					</Ellipse.RenderTransform>
				</Ellipse>
			</Canvas>
		</Grid>
	</Grid>
</UserControl>